package cn.tedu.ivos.vehicle.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
public class VehicleVO {
    @ApiModelProperty(value = "服装id")
    private Long id;
    @ApiModelProperty(value = "服装品牌")
    private String brand;
    @ApiModelProperty(value = "服装编号")
    private String license;
    @ApiModelProperty(value = "服装型号")
    private String model;
    @ApiModelProperty(value = "服装识别码")
    private String code;
    @ApiModelProperty(value = "服装库存")
    private String displacement;
    @ApiModelProperty(value = "服装状态")
    private String status;
    @ApiModelProperty(value = "服装类型")
    private String type;
    @ApiModelProperty(value = "服装颜色")
    private String color;
    @ApiModelProperty(value = "服装数量")
    private String kilometers;
    @ApiModelProperty(value = "服装出库时间")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date regTime;
    @ApiModelProperty(value = "服装购买时间")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date buyTime;
    @ApiModelProperty(value = "服装购买价格")
    private String price;
    @ApiModelProperty(value = "服装材质")
    private String batteryType;
    //创建时间与更新时间在前端没有显示的需求,所以没有加格式化 @JsonFormat
    @ApiModelProperty(value = "服装创建时间")
    private Date createTime;
    @ApiModelProperty(value = "服装更新时间")
    private Date updateTime;
    @ApiModelProperty(value = "电子围栏绑定状态")
    private String geofenceBindStatus;
    @ApiModelProperty(value = "电子围栏id")
    private Long geofenceId;
}